using System;

namespace DesktopWidgetApp.Shared
{
    /// <summary>
    /// 状态变更历史记录模型
    /// </summary>
    public class StatusChangeHistory
    {
        /// <summary>
        /// 历史记录ID
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public Guid UserId { get; set; }

        /// <summary>
        /// 状态ID
        /// </summary>
        public Guid StatusId { get; set; }

        /// <summary>
        /// 变更前状态类型
        /// </summary>
        public StatusType PreviousStatusType { get; set; }

        /// <summary>
        /// 变更后状态类型
        /// </summary>
        public StatusType NewStatusType { get; set; }

        /// <summary>
        /// 变更时间
        /// </summary>
        public DateTime ChangeTime { get; set; }

        /// <summary>
        /// 变更原因
        /// </summary>
        public string ChangeReason { get; set; }
    }
}